package com.translate.web.api.logic;

import com.returns.value.ICodeAndData;
import com.translate.web.constant.OrderErrorMsg;
import com.translate.web.param.contract.IManuscriptAddParam;
import com.translate.web.param.contract.IPayManagerAddParam;
import com.translate.web.param.contract.IPayManagerServiceAddParam;

/**
 * 下单逻辑
 * @author 111
 *
 */
public interface IPlanceOrderLogic {
	
	/**
	 * 下单
	 * @param payManagerAddParam
	 * @return
	 */
	<P extends IPayManagerServiceAddParam, M extends IManuscriptAddParam> ICodeAndData<Integer> placeAnOrder(IPayManagerAddParam<P, M> payManagerAddParam);

	
}




